<?php
defined('SYSPATH') OR die('No direct access allowed.');
/**
 * mstagama.php
 * @author ranuandra
 *
 * 25 Apr 2012 14:21:14
 *
 * 
 */
class Model_Mstagama extends ORM
{
	
	private $_field = array('agama');
	private $_form = array('agama' => '');
	
	public $roles = array(
					'agama' => array(
									array('min_length', array(':value', 0)),
								),
	);
	
	public function getField()
	{
		return $this->_field;
	}
	
	public function getForm()
	{
		return $this->_form;
		
	}
	
	public function create_data($values)
	{
	    return $this->values($values, $this->_field)->create();
	}
}